package 通用路径写法.Test03;

import java.util.ResourceBundle;

//资源绑定器
//以后最常用的方式
public class Test03 {
    public static void main(String[] args) {
        ResourceBundle bundle = ResourceBundle.getBundle("classinfo2");
        String path = bundle.getString("className");
        System.out.println(path);
    }
}









